﻿namespace FFF.Test.Entity.FW.Dto
{
    using System;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using Abp.Application.Services.Dto;
    using Abp.AutoMapper;
    using FFF.Test.Entity.Framework.Dto;
    using FFF.Test.Entity.FW.View;       

	/// <summary>
    /// 动作表展示时候的dto
    /// </summary>
	[AutoMapFrom(typeof(FWActionEntity))] 
    public partial class FWActionDto :  BaseEntityDto<Guid>
    {
		/// <summary>
        /// 对应的功能GUID
        /// </summary>
		[Display(Name = "对应的功能GUID", Description = "对应的功能GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 动作代码
        /// </summary>
		[Display(Name = "动作代码", Description = "动作代码")]
        [Column("ActionCode")]
		[StringLength(256)]
        public string ActionCode { get; set; }
        
		/// <summary>
        /// 动作名称
        /// </summary>
		[Display(Name = "动作名称", Description = "动作名称")]
        [Column("ActionName")]
		[StringLength(128)]
        public string ActionName { get; set; }
        
		/// <summary>
        /// 动作说明
        /// </summary>
		[Display(Name = "动作说明", Description = "动作说明")]
        [Column("ActionRemark")]
		[StringLength(99999)]
        public string ActionRemark { get; set; }
        
    }
    
    /// <summary>
    /// 动作表新增时候的dto
    /// </summary>
	[AutoMap(typeof(FWActionEntity))]
    [AutoMapFrom(typeof(ViewFWAction))] 
    public partial class FWActionCreateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 对应的功能GUID
        /// </summary>
		[Display(Name = "对应的功能GUID", Description = "对应的功能GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 动作代码
        /// </summary>
		[Display(Name = "动作代码", Description = "动作代码")]
        [Column("ActionCode")]
		[StringLength(256)]
        public string ActionCode { get; set; }
        
		/// <summary>
        /// 动作名称
        /// </summary>
		[Display(Name = "动作名称", Description = "动作名称")]
        [Column("ActionName")]
		[StringLength(128)]
        public string ActionName { get; set; }
        
		/// <summary>
        /// 动作说明
        /// </summary>
		[Display(Name = "动作说明", Description = "动作说明")]
        [Column("ActionRemark")]
		[StringLength(99999)]
        public string ActionRemark { get; set; }
        
    }
     
     /// <summary>
    /// 动作表更新时候Dto
    /// </summary>
	[AutoMap(typeof(FWActionEntity))]
    [AutoMapFrom(typeof(ViewFWAction))] 
    public partial class FWActionUpdateInputDto : BaseEntityDto<Guid>
    {
		/// <summary>
        /// 对应的功能GUID
        /// </summary>
		[Display(Name = "对应的功能GUID", Description = "对应的功能GUID")]
        [Column("FunctionGUID")]
        public Guid? FunctionGUID { get; set; }
        
		/// <summary>
        /// 动作代码
        /// </summary>
		[Display(Name = "动作代码", Description = "动作代码")]
        [Column("ActionCode")]
		[StringLength(256)]
        public string ActionCode { get; set; }
        
		/// <summary>
        /// 动作名称
        /// </summary>
		[Display(Name = "动作名称", Description = "动作名称")]
        [Column("ActionName")]
		[StringLength(128)]
        public string ActionName { get; set; }
        
		/// <summary>
        /// 动作说明
        /// </summary>
		[Display(Name = "动作说明", Description = "动作说明")]
        [Column("ActionRemark")]
		[StringLength(99999)]
        public string ActionRemark { get; set; }
        
    }
}
